using System.Collections.Generic;
using FwkLight.Application.Caching;
using FwkLight.CodeExtensions;
using FwkLight.Domain.Fetching;

namespace FwkLight.Application
{
  public class ApplicationConstants
  {
    public class Caching
    {
      public static int DefaultCachingTimeInHours = 168;
      public static IItemKey<IList<ITaskCacheDependency>> CacheDependencies = new ItemKey<IList<ITaskCacheDependency>>("CacheDependencies");
    }

    public class Request
    {
      public static IItemKey<NameValueCollectionItemDictionary> EntityInRequestList =
        new ItemKey<NameValueCollectionItemDictionary>("TaskEntityInRequestList");
      public static readonly IItemKey<IList<FetchingConfiguration>> FetchingConfigurationList = new ItemKey<IList<FetchingConfiguration>>("FetchingConfigurationList");
    }
  }
}